package com.xquant.common.engine.xPP.request;

import com.fasterxml.jackson.annotation.JsonInclude;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class Premium {
     private String legId = "leg02";
     private String productType = "Premium";
     private String paymentDate;
     private String paymentConv = "NONE";
     private String paymentAmount;
     private String paymentCurrency = "CNY";

    public Premium(String legId, String productType, String paymentDate, String paymentConv, String paymentAmount, String paymentCurrency) {
        this.legId = legId;
        this.productType = productType;
        this.paymentDate = paymentDate;
        this.paymentConv = paymentConv;
        this.paymentAmount = paymentAmount;
        this.paymentCurrency = paymentCurrency;
    }

    public Premium(String paymentDate, String paymentAmount) {
        this.paymentDate = paymentDate;
        this.paymentAmount = paymentAmount;
    }

    public String getLegId() {
        return legId;
    }

    public Premium setLegId(String legId) {
        this.legId = legId;
        return this;
    }

    public String getProductType() {
        return productType;
    }

    public Premium setProductType(String productType) {
        this.productType = productType;
        return this;
    }

    public String getPaymentDate() {
        return paymentDate;
    }

    public Premium setPaymentDate(String paymentDate) {
        this.paymentDate = paymentDate;
        return this;
    }

    public String getPaymentConv() {
        return paymentConv;
    }

    public Premium setPaymentConv(String paymentConv) {
        this.paymentConv = paymentConv;
        return this;
    }

    public String getPaymentAmount() {
        return paymentAmount;
    }

    public Premium setPaymentAmount(String paymentAmount) {
        this.paymentAmount = paymentAmount;
        return this;
    }

    public String getPaymentCurrency() {
        return paymentCurrency;
    }

    public Premium setPaymentCurrency(String paymentCurrency) {
        this.paymentCurrency = paymentCurrency;
        return this;
    }
}
